package com.atwulidun.decorator07;

public abstract class Drink {
    // 描述
    public String des;
    // 价格
    protected int price;

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    // 获取费用的抽象方法
    public abstract int cost();
}
